﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO; // Jobba med filer

namespace MediaRegister
{
    public partial class Form1 : Form
    {
        private KöpMobil km = new KöpMobil();
        private KöpData kd = new KöpData();
        private Upplåsning upp = new Upplåsning();
        private RepData rd = new RepData();
        private RepMobil rm = new RepMobil();
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void avslutaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void säljaToolStripMenuItem_Click(object sender, EventArgs e)
        {
           
        }
       

        private void köpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
        }

        private void dataToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (kd.ShowDialog() == DialogResult.OK)
            { 
            }
        }

        private void mobilToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (km.ShowDialog() == DialogResult.OK)
            {
            }
        }

        private void mobilToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (km.ShowDialog() == DialogResult.OK)
            {
            }
        }

        private void dataToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (km.ShowDialog() == DialogResult.OK)
            {
            }
        }

        

        private void låsaUppToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (upp.ShowDialog() == DialogResult.OK)
            {
            }
        }

        private void dataToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            if (rd.ShowDialog() == DialogResult.OK)
            {
            }
        }

        private void mobilToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            if (rm.ShowDialog() == DialogResult.OK)
            {
            }
        }

    }
}
